package com.tea.room.model;

import java.util.Date;

/**
 * 微信token
 * @ClassName:WX_Token   
 * @Description:TODO()   
 * @date:2019年4月23日 上午9:56:00 
 * @author ShiP
 */
public class WeChatToken {
    
    /**
     * 自增id
     */
    private Integer id;
    
    /**
     * 获取到的凭证
     */
    private String access_token;
    
    /**
     * 凭证有效时间，单位：秒
     */
    private String expires_in;
    
    /**
     * 失效时间
     */
    private Date failureTime;
    
    /**
     * 生产时间
     */
    private Date riseTime;
    
    /**
     * token类别 wechat微信 door门锁
     */
    private String token_type;
    
    /**
     * 有效性
     */
    private String data_flag;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public String getExpires_in() {
        return expires_in;
    }

    public void setExpires_in(String expires_in) {
        this.expires_in = expires_in;
    }

    public Date getFailureTime() {
        return failureTime;
    }

    public void setFailureTime(Date failureTime) {
        this.failureTime = failureTime;
    }

    public Date getRiseTime() {
        return riseTime;
    }

    public void setRiseTime(Date riseTime) {
        this.riseTime = riseTime;
    }

    public String getData_flag() {
        return data_flag;
    }

    public void setData_flag(String data_flag) {
        this.data_flag = data_flag;
    }

    public String getToken_type() {
        return token_type;
    }

    public void setToken_type(String token_type) {
        this.token_type = token_type;
    }

}
